package BankAndTicket;

/**
 * @author wuhan
 * @date 2019/9/17 21:09
 */
public class Jux {
    public static void main(String[] args) {
        Thread1 thread1 = new Thread1();
        thread1.start();
    }
}
class Thread1 extends Thread{
    Thread1 (String name){
        super(name);
    }

    public Thread1() {

    }

    @Override
    public void run() {
        System.out.printf("Hi");
        System.out.printf(Thread.currentThread().getName());
    }
}
